package com.easy.service;

import com.easy.bean.User;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserService {
    int addUser(User user);
    int editUser(User user);
    int deleteUser(int id);
    List<User> selectUser(Page page,String text);
    User getUserById(int id);
    int UserCount(String text);
    User getUserByUsername(String username);
}
